#include<iostream>
#include<cstdio>
using namespace std;
int main(){
	int k;
	while(scanf("%d",&k)){	
		for(int y=k+1;y<=2*k;y++){
			if(k*y%(k-y)==0){
				int x=(k*y)/(y-k);
				cout<<"1/"<<k<<"=1/"<<x<<"+1/"<<y<<endl;
			}
		}
	}
	return 0;
} 
